From Circuit Complexity to Faster All-Pairs Shortest Paths

نویسندگان

چکیده

We present a randomized method for computing the min-plus product (a.k.a. tropical product) of two $n \times n$ matrices, yielding faster algorithm solving all-pairs shortest path problem (APSP) in dense $n$-node directed graphs with arbitrary edge weights. In real random-access machine model, where additions and comparisons reals are unit cost (but all other operations have logarithmic cost), runs time $\frac{n^3}{2^{\Omega(\log n)^{1/2}}}$ is correct high probability. On word which permits constant-time on $\log(n)$-bit words, $n^3/2^{\Omega(\log n)^{1/2}} + n^{2+o(1)}\log(nM)$ weights $([0,M] \cap \mathbb{Z})\cup\{\infty\}$. Prior algorithms needed either $\Theta(n^3/\log^c n)$ various $c \leq 2$, or $\Theta(M^{\alpha}n^{\beta})$ $\alpha > 0$ $\beta 2$. Our applies tool from circuit complexity, namely, Razborov--Smolensky polynomials approximately representing ${AC}^0[p]$ circuits, to efficiently reduce matrix over algebra relatively small number rectangular products $\mathbb{F}_2$. Each can be computed using particularly efficient due Coppersmith. also give deterministic version running $n^3/2^{\log^{\delta} n}$ some $\delta 0$, utilizes Yao--Beigel--Tarui translation ${AC}^0[m]$ circuits into “nice” depth-two circuits.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

All - Pairs Shortest Paths ÆÆÆ

In the previous chapter, we saw algorithms to find the shortest path from a source vertex s to a target vertex t in a directed graph. As it turns out, the best algorithms for this problem actually find the shortest path from s to every possible target (or from every possible source to t) by constructing a shortest path tree. The shortest path tree specifies two pieces of information for each no...

متن کامل

All Pairs Shortest Paths Algorithms

Given a communication network or a road network one of the most natural algorithmic question is how to determine the shortest path from one point to another. In this paper we deal with one of the most fundamental problems of Graph Theory, the All Pairs Shortest Path (APSP) problem. We study three algorithms namely The FloydWarshall algorithm, APSP via Matrix Multiplication and the Johnson’s alg...

متن کامل

All Pairs Almost Shortest Paths

Let G = (V;E) be an unweighted undirected graph on n vertices. A simple argument shows that computing all distances in G with an additive one-sided error of at most 1 is as hard as Boolean matrix multiplication. Building on recent work of Aingworth, Chekuri and Motwani, we describe an ~ O(minfn3=2m1=2; n7=3g) time algorithmAPASP2 for computing all distances in G with an additive one-sided error...

متن کامل

On the Comparison-Addition Complexity of All-Pairs Shortest Paths

We present an all-pairs shortest path algorithm for arbitrary graphs that performs O(mn log ) comparison and addition operations, where m and n are the number of edges and vertices, resp., and = (m;n) is Tarjan's inverse-Ackermann function. Our algorithm eliminates the sorting bottleneck inherent in approaches based on Dijkstra's algorithm, and for graphs with O(n) edges our algorithm is within...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Siam Review

سال: 2021

ISSN: ['1095-7200', '0036-1445']

DOI: https://doi.org/10.1137/21m1418654